package com.aiden.cashbook.net

import java.lang.RuntimeException

class ServerResponseException(var code: Int, override var message: String?) : RuntimeException(message) {

    init {
        // TODO 异常信息
        when(code) {

            400 -> message = "..."
            500 -> message = "..."
        }
    }

}